<!DOCTYPE html>
<html>
  
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="utf-8">
  <meta name="author" content="Amos Zhu">
  
  
  <title>Centos7上安装Elasticsearch7.3.0 | Amos的技术博客</title>

  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

  
    <meta name="keywords" content="elasticsearch,centos7,elasticsearch,">
  

  
  <meta name="description" content="随着项目的运行的时间的加长，日志信息也会不断的增大，迫切的需要一款功能强大，能高效的搜索日志的相关内容，最好是支持图表展示和实施流量统计的相关系统过来支撑我们的系统，那么就必不可少的需要提下我们的Elastic的相关组件了，其中Elasticsearch是系统的基石，所以我们接下里的博客就了解下Elasticsearch，从而一步步的搭建我们需要的日志系统。工具善其事，必先利其器，我们先来搭建下Elasticsearch所需要的运行环境，再一步一步的了解Elasticsearch。">

  

  
    <script src="//cdn.jsdelivr.net/npm/leancloud-storage@3.11.1/dist/av-min.js" async></script>
  

  
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML" async></script>
  

  
    <script src="//unpkg.com/valine/dist/Valine.min.js" async></script>
  

  

  <script>
  // theme-ad's config script
  // it can be used in every script
  
  window.AD_CONFIG = {
    leancloud: {"appid":"eObxCkTJ6j4GzRxGLgiHyfJa-gzGzoHsz","appkey":"fzRMAFC6MCE11mp7mnvh4Kwe","comment":true,"count":true},
    welcome: {"enable":true,"interval":30},
    start_time: "2019-05-28",
    passwords: ["efe07af7441da2b69c4a41e42e73be4db47f66010a56900788a458354a7373ec", ],
    is_post: true,
    lock: false,
    author: "Amos Zhu",
    share: {"qq":true,"wechat":true},
    mathjax: true,
    page_type: "",
    root: "/blog/"
  };
</script>

  <script src="/blog/vendor/sha256.min.js"></script>
<script src="/blog/js/auth.js"></script>
<script src="/blog/js/index.js"></script>
<script src="/blog/vendor/qrcode.min.js"></script>

  
    <link rel="icon" href="/blog/images/favicon.ico">
    <link rel="apple-touch-icon" href="/blog/images/touch-icon.png">
  

  <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

  <link rel="stylesheet" href="/blog/css/index.css">
<link rel="stylesheet" href="/blog/styles/components/highlight/highlight.css">

  
</head>
  <body>
    <header class="site-header">
  <div class="site-header-brand">
    
      <span class="site-header-brand-title">
        <a href="/blog/">Amos Zhu</a>
      </span>
    
    
      <span class="site-header-brand-motto"> | 当浮躁的心静不下，不妨写些东西或者看会书</span>
    
  </div>
  <div class="site-header-right">
    <nav class="site-header-navigation">
      
        <a href="/blog/" target="_self">首页</a>
      
        <a href="/blog/archives/" target="_self">归档</a>
      
        <a href="/blog/tags/" target="_self">标签</a>
      
        <a href="/blog/categories/" target="_self">分类</a>
      
        <a href="/blog/redis/" target="_self">redis</a>
      
        <a href="/blog/rabbitMQ/" target="_self">rabbitMQ</a>
      
        <a href="/blog/elasticsearch" target="_self">elasticsearch</a>
      
        <a href="/blog/stuff" target="_self">stuff</a>
      
        <a href="/blog/kafka" target="_self">kafka</a>
      
        <a href="/blog/friends/" target="_self">友链</a>
      
        <a href="/blog/about/" target="_self">关于</a>
      
    </nav>
    <div class="site-header-btn">
      
        <a href="https://gitee.com/amos_zhu" target="_blank" id="site-github">
          <i class="fa fa-github-alt"></i>
        </a>
      
      <a href="javascript:void(0);" id="site-search">
        <i class="fa fa-search"></i>
      </a>
      <a href="javascript:void(0);" id="site-nav-btn">
        <i class="fa fa-ellipsis-v"></i>
      </a>
    </div>
  </div>
</header>
<nav class="table-content" id="site-nav">
  <div class="table-content-title">
    <span>导航</span>
  </div>
  <div class="table-content-main">
    <ol class="toc">
      
        <li class="toc-item">
          <a href="/blog/" target="_self">
            首页
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/archives/" target="_self">
            归档
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/tags/" target="_self">
            标签
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/categories/" target="_self">
            分类
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/redis/" target="_self">
            redis
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/rabbitMQ/" target="_self">
            rabbitMQ
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/elasticsearch" target="_self">
            elasticsearch
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/stuff" target="_self">
            stuff
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/kafka" target="_self">
            kafka
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/friends/" target="_self">
            友链
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/about/" target="_self">
            关于
          </a>
        </li>
      
    </ol>
  </div>
</nav>
<div id="site-process"></div>
    <main>
      
  <div class="passage">
  <div class="passage-meta">
    <span>
      <i class="fa fa-calendar"></i>2019-08-13
    </span>
    
      <span>
        | <a href="/blog/categories/elasticsearch/"><i class="fa fa-bookmark"></i>elasticsearch</a>
      </span>
    
    
      <span>
        | <i class="fa fa-unlock-alt"></i>UNLOCK
      </span>
    
  </div>
  <h1 class="passage-title">
    Centos7上安装Elasticsearch7.3.0
  </h1>
  
  <article class="passage-article">
    <p></p>

<h3 id="环境搭建的软硬件"><a href="#环境搭建的软硬件" class="headerlink" title="环境搭建的软硬件"></a>环境搭建的软硬件</h3><table>
<thead>
<tr>
<th>系统</th>
<th>软件版本</th>
</tr>
</thead>
<tbody>
<tr>
<td>CentOS Linux release 7.5.1804 (Core)</td>
<td>elasticsearch-7.3.0-linux-x86_64</td>
</tr>
</tbody>
</table>
<h3 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h3><p>我们这里采用tar.gz的安装方式来安装<br>我们这里使用rzsz的方式来上传文件<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">## 安装rzsz的环境</span></span><br><span class="line">yum install lrzsz -y</span><br><span class="line"></span><br><span class="line"><span class="comment">## 安装成功之后 ，上传文件 输入命令 rz 就会弹出文件选择框，选择文件之后，上传该文件到当前路径下</span></span><br><span class="line">rz</span><br><span class="line"></span><br><span class="line"><span class="comment">## 查看是否上传成功</span></span><br><span class="line">ls</span><br></pre></td></tr></table></figure></p>
<p>文件上传成功之后，我们来解压文件,由于es需要非root用户来启动，所以我们还需要创建一个用户，并且给这个用户赋权，来启动我们的Elasticsearch</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">## 解压Elasticsearch的tar.gz文件</span></span><br><span class="line">tar -zxvf elasticsearch-7.3.0-linux-x86_64.tar.gz</span><br><span class="line"></span><br><span class="line"><span class="comment">## 新建一个用户 </span></span><br><span class="line">useradd -d /usr/<span class="built_in">local</span>/elasticsearch-7.3.0 -m es</span><br><span class="line"></span><br><span class="line"><span class="comment">## 为es设置密码, 密码需要输入两次，校验不通过可以不用管他</span></span><br><span class="line">passwd es</span><br><span class="line"></span><br><span class="line"><span class="comment">## 给es用户为 elasticsearch-7.3.0文件夹授权</span></span><br><span class="line">chmod -R 777 /usr/<span class="built_in">local</span>/elasticsearch-7.3.0</span><br><span class="line"></span><br><span class="line"><span class="comment">## 进入Elasticsearch的安装目录下，创建data文件夹来存放数据</span></span><br><span class="line">mkdir data</span><br></pre></td></tr></table></figure>
<p>接下来我们来修改配置文件<br>取消下面的注解，并且修改其中的值<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 集群名称</span></span><br><span class="line">cluster.name: node-1</span><br><span class="line"><span class="comment"># 节点名称</span></span><br><span class="line">node.name: node-1 </span><br><span class="line"><span class="comment"># 数据和日志的存储目录</span></span><br><span class="line">path.data: /usr/<span class="built_in">local</span>/elasticsearch-7.3.0/data</span><br><span class="line">path.logs: /usr/<span class="built_in">local</span>/elasticsearch-7.3.0/logs</span><br><span class="line"><span class="comment"># 设置绑定的ip，设置为0.0.0.0以后就可以让任何计算机节点访问到了</span></span><br><span class="line">network.host: 0.0.0.0</span><br><span class="line"><span class="comment"># 端口</span></span><br><span class="line">http.port: 9200 </span><br><span class="line"><span class="comment"># 设置在集群中的所有节点名称，这个节点名称就是之前所修改的，当然你也可以采用默认的也行，目前是单机，放入一个节点即可</span></span><br><span class="line"><span class="comment"># 注意这里，如果目前是单节点的话，一定要修改该值为节点的名称，否则虽然启动成功了，但是通过curl命令向elasticsearch服务中新增数据时，会出现 "master_not_discovered_exception"错误</span></span><br><span class="line">cluster.initial_master_nodes: [<span class="string">"node-1"</span>]</span><br></pre></td></tr></table></figure></p>
<p>一切似乎都准备好了，我们来启动下看看是否能否启动起来</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">## 切换到非root用户 es用户</span></span><br><span class="line">su - es</span><br><span class="line"></span><br><span class="line"><span class="comment">## 然后进入到 /usr/local/elasticsearch-7.3.0/bin文件下</span></span><br><span class="line"><span class="built_in">cd</span> /usr/<span class="built_in">local</span>/elasticsearch-7.3.0/bin</span><br><span class="line"></span><br><span class="line"><span class="comment">## 启动Elasticsearch</span></span><br><span class="line">./elasticsearch</span><br><span class="line"><span class="comment">## 或者以守护线程启动则执行</span></span><br><span class="line">./elasticsearch -d </span><br><span class="line"><span class="comment">## 查看日志看看是否启动成功</span></span><br></pre></td></tr></table></figure>
<p>按照上面的配置首次启动报了如下的错误：<br><img src="https://s2.ax1x.com/2019/08/13/mpHTYR.png" alt="image"></p>
<p>该错误在我之前有篇博文已经给过解决方案<a href="http://amos_zhu.gitee.io/blog/passages/Centos7下安装和配置SonarQube7-7/">《Centos7下安装和配置SonarQube7.7》</a>，</p>
<p>这个是服务器硬件不支持，需要我们进行如下的配置</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">## 1.max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]</span></span><br><span class="line"></span><br><span class="line"><span class="comment">## 修改/etc/security/limits.conf文件，添加或修改如下行：</span></span><br><span class="line">*        hard    nofile           65536</span><br><span class="line">*        soft    nofile           65536</span><br><span class="line"><span class="comment">## 2.max virtual memory areas vm.max......</span></span><br><span class="line"></span><br><span class="line"><span class="comment">## 修改 /etc/sysctl.conf 文件,添加如下行：</span></span><br><span class="line"></span><br><span class="line">vm.max_map_count=262144</span><br><span class="line"><span class="comment">## 修改好了以后，调用sysctl -a查看，发现参数并没有变动，要重启才可以。</span></span><br></pre></td></tr></table></figure>
<p>limits.conf 不需要重启，但是sysctl.conf则需要重启服务器让参数生效，如果服务器不方便重启，也可以通过命令来临时设置变量，只是临时的，服务器重启的话，之前的设置就不会生效了</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">## 命令设置 vm.max_map_count 参数</span></span><br><span class="line">sudo sysctl -w vm.max_map_count=262144</span><br></pre></td></tr></table></figure>
<p>我们再次启动Elasticsearch，启动成功，查看日志可以看到Started的信息提示,代表Elasticsearch启动成功</p>
<p>我们使用命令来验证下，是否elasticsearch真正的启动成功<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">## 执行crul来验证Elasticsearch是否启动成功</span></span><br><span class="line">curl http://192.168.56.105:9200</span><br></pre></td></tr></table></figure></p>
<p><img src="https://s2.ax1x.com/2019/08/13/mCw2qO.png" alt="image"></p>
<p>至此，Elasticsearch算是真正的启动成功了，这只是一个单节点的Elasticsearch环境</p>
<h3 id="相关概念的理解"><a href="#相关概念的理解" class="headerlink" title="相关概念的理解"></a>相关概念的理解</h3><p>学习Elasticsearch之前，我们得先了解下相关的概念术语：文档、类型和索引。<br>在介绍相关概念术语之前，我们引入关系型数据库里面的数据库、表和行记录。</p>
<p>在这里我们可以先通俗的将文档理解为行记录、类型理解为表、索引看成是数据库，当然两者之间肯定是有区别的，我们先在脑海中建立这个概念模型，然后我们再来看看两者之间的区别</p>
<ul>
<li>文档：</li>
</ul>
<p>Elasticsearch是面向文档的，这个是最小的单位，通常使用JSON来表示，包括字段和属性值；</p>
<p>最重要的是他是<strong>层次型</strong>的，文档中可以包含新的文档，类型JSON里面属性是另外一个属性或者数组，对JSON了解的，应该很容易在理解这个数据模型。</p>
<p>最后每个文档都是灵活的，<strong>没有预定定义的模式</strong>，可以这样理解，和关系型数据库中的行记录中，每行都是同样的列名和类型的，但是文档不一样，在同一类型中的文档可以含有不同的字段和类型，对于NoSQL比较熟悉的可以很容易理解这个概念模型</p>
<ul>
<li>类型：</li>
</ul>
<p>类型是文档的逻辑容器，每个类型中的字段的定义称之为映射；</p>
<p>这里需要理解下，我们说的“无模式”是因为文档并不受模式的限制，他们并不需要拥有映射中所定义的所有的字段，如果一篇新建的索引的文档拥有一个映射中尚不存在的字段，Elasticsearch会自动将新字段添加映射，为了添加这个字段，Elasticsearch不得不确定他是什么类型的，于是Elasticsearch会进行猜测，这样也有缺点，比如说”7”，在我们看来是一个字符串，但是在Elasticsearch猜测来说他是一个数字类型的Long,这样的话，与我们预期中的类型就不一致了，这样就容易出现问题</p>
<p>映射类型只是将文档进行逻辑划分</p>
<ul>
<li>索引</li>
</ul>
<p>索引是映射类型的容器，是独立的大量的文档的集合，每个索引存储在磁盘上的同组文件中，索引存储了所有映射类型的字段，还有一些设置。</p>
<p>我们可以跨多个类型进行搜索，也可以跨多个索引进行搜索，这使得组织文档的方式更为灵活</p>
<p>下面是Elasticsearch的概念模型图：<br><img src="https://s2.ax1x.com/2019/08/13/mC2Oc4.png" alt="image"></p>
  </article>
  <aside class="table-content" id="site-toc">
  <div class="table-content-title">
    <i class="fa fa-arrow-right fa-lg" id="site-toc-hide-btn"></i>
    <span>目录</span>
  </div>
  <div class="table-content-main">
    <ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#环境搭建的软硬件"><span class="toc-text">环境搭建的软硬件</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#安装"><span class="toc-text">安装</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#相关概念的理解"><span class="toc-text">相关概念的理解</span></a></li></ol>
  </div>
</aside>
  
    <aside class="passage-copyright">
      <div>本文作者: Amos Zhu</div>
      
        <div>
          原文链接: 
          <a href target="_blank">http://amos_zhu.gitee.io/passages/Centos7上安装Elasticsearch7-3-0/</a>
        </div>
      
      <div>
        版权声明: 本博客所有文章除特别声明外, 均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a> 许可协议. 转载请注明出处!
      </div>
    </aside>
  
  
    <div class="passage-tags">
     
      <a href="/blog/tags/centos7/"><i class="fa fa-tags"></i>centos7</a>
     
      <a href="/blog/tags/elasticsearch/"><i class="fa fa-tags"></i>elasticsearch</a>
    
    </div>
  
</div>

    </main>
    
      
<div class="site-comment-contanier" data-plateform="leancloud">
  
    <p id="site-comment-info">
      <i class="fa fa-spinner fa-spin"></i> 评论加载中
    </p>
    <div id="site-comment"></div>
  
</div>
    
    <div class="site-footer-wrapper">
  <footer class="site-footer">
    
      
        <div class="site-footer-col">
          <h5 class="site-footer-title">博客推荐</h5>
          
            <span class="site-footer-item">
              <a href="http://youzhixueyuan.com/series/java" target="_blank">优知学院</a>
            </span>
          
            <span class="site-footer-item">
              <a href="http://ruanyifeng.com/" target="_blank">阮一峰的个人网站</a>
            </span>
          
        </div>
      
        <div class="site-footer-col">
          <h5 class="site-footer-title">系列教程</h5>
          
            <span class="site-footer-item">
              <a href="http://amos_zhu.gitee.io/blog/redis" target="_blank">Redis系列教程</a>
            </span>
          
            <span class="site-footer-item">
              <a href="http://amos_zhu.gitee.io/blog/rabbitMQ/" target="_blank">RabbitMQ教程</a>
            </span>
          
            <span class="site-footer-item">
              <a href="http://amos_zhu.gitee.io/blog/kafka/" target="_blank">Kafka架构探险</a>
            </span>
          
        </div>
      
        <div class="site-footer-col">
          <h5 class="site-footer-title">抓到我</h5>
          
            <span class="site-footer-item">
              <a href="https://gitee.com/amos_zhu" target="_blank">Gitee</a>
            </span>
          
            <span class="site-footer-item">
              <a href="https://blog.csdn.net/wdcl2468" target="_blank">CSDN</a>
            </span>
          
            <span class="site-footer-item">
              <a href="https://www.jianshu.com/u/2dbe61b1f3c3" target="_blank">简书</a>
            </span>
          
        </div>
      
    
    <div class="site-footer-info">
      <i class="fa fa-clock-o"></i> 本站已稳定运行<span id="site-time"></span>
    </div>
    
      <div class="site-footer-info">
        <i class="fa fa-paw"></i> 您是本站第 <span id="site-count"></span> 位访客
      </div>
    
    
      <div class="site-footer-info">
        <i class="fa fa-at"></i> Email: amoszhu@aliyun.com
      </div>
    
    <div class="site-footer-info">
      <i class="fa fa-copyright"></i> 
      2019 <a href="https://github.com/dongyuanxin/theme-ad/" target="_blank">Theme-AD</a>.
      Created by <a href="https://godbmw.com/" target="_blank">GodBMW</a>.
      All rights reserved.
    </div>
  </footer>
</div>
    <div id="site-layer" style="display:none;">
  <div class="site-layer-content">
    <div class="site-layer-header">
      <span class="site-layer-header-title" id="site-layer-title"></span>
      <i class="fa fa-close" id="site-layer-close"></i>
    </div>
    <div class="site-layer-body" id="site-layer-container">
      <div class="site-layer-input" id="site-layer-search" style="display: none;">
        <div class="site-layer-input-choose">
          <a href="javascript:void(0);" title="Change Search Engine">Google</a>
        </div>
        <input type="text">
        <i class="fa fa-search"></i>
      </div>
      
        <div class="site-layer-reward" id="site-layer-reward" style="display: none;">
          
            <div>
              <img src="/blog/images/wechat.png" alt="WeChat">
              
                <p>WeChat</p>
              
            </div>
          
            <div>
              <img src="/blog/images/alipay.png" alt="AliPay">
              
                <p>AliPay</p>
              
            </div>
          
        </div>
      
      <div id="site-layer-welcome" style="display:none;"></div>
    </div>
  </div>
</div>
    

<div class="bottom-bar">
  <div class="bottom-bar-left">
    <a href="/blog/passages/缓存与数据库双写一致性的解决方案——附上代码解决方案/" data-enable="true">
      <i class="fa fa-arrow-left"></i>
    </a>
    <a href="/blog/passages/RabbitMQ高可用原理讲解/" data-enable="true">
      <i class="fa fa-arrow-right"></i>
    </a>
  </div>
  <div class="bottom-bar-right">
    <a href="javascript:void(0);" data-enable="true" id="site-toc-show-btn">
      <i class="fa fa-bars"></i>
    </a>
    
      <a href="#site-comment" data-enable="true">
        <i class="fa fa-commenting"></i>
      </a>
    
    <a href="javascript:void(0);" id="site-toggle-share-btn">
      <i class="fa fa-share-alt"></i>
    </a>
    
      <a href="javascript:void(0);" id="site-reward">
        <i class="fa fa-thumbs-up"></i>
      </a>
    
    <a href="javascript:void(0);" id="back-top-btn">
      <i class="fa fa-chevron-up"></i>
    </a>
  </div>
</div>
    <div id="share-btn">
  
  
  
  
    <a id="share-btn-qq" href="javascript:void(0);" target="_blank">
      <i class="fa fa-qq"></i>
    </a>
  
  
    <a id="share-btn-wechat" href="javascript:void(0);" target="_blank">
      <i class="fa fa-wechat"></i>
    </a>
  
</div>
    


  <script async>
  (function(){
      var bp = document.createElement('script');
      var curProtocol = window.location.protocol.split(':')[0];
      if (curProtocol === 'https') {
          bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
      }
      else {
          bp.src = 'http://push.zhanzhang.baidu.com/push.js';
      }
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(bp, s);
  })();
  </script>



  <script async>
    (function(){
    var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?":"https://jspassport.ssl.qhimg.com/11.0.1.js?";
    document.write('<script src="' + src + '" id="sozz"><\/script>');
    })();
  </script>


    
  </body>
</html>